import type {ConfigProviderProps} from "antd/es/config-provider";

/**
 * antd官方暗黑系列颜色
 */
export const antDarkToken: ConfigProviderProps["theme"]["token"] = {
    // **************** 品牌色 ****************
    colorPrimaryBg: "#111a2c",          // 浅色背景色
    colorPrimaryBgHover: "#112545",     // 浅色背景悬浮态
    colorPrimaryBorder: "#15325b",      // 描边
    colorPrimaryBorderHover:"#15417e",  // 描边悬浮态
    colorPrimaryHover: "#3c89e8",       //深色悬浮态
    colorPrimary: "#1677FF",            // 品牌主色
    colorPrimaryActive: "#1554ad",      // 深色激活态
    colorPrimaryTextHover: "#3c89e8",   // 文本悬浮态
    colorPrimaryText: "#1668dc",        // 文本默认态
    colorPrimaryTextActive: "#1554ad",  // 文本激活态

    // **************** 中性色 ****************
    // 文本
    colorText: "rgba(255, 255, 255, 0.85)",             // 一级文本色
    colorTextSecondary: "rgba(255, 255, 255, 0.65)",    // 二级文本色
    colorTextTertiary: "rgba(255, 255, 255, 0.45)",     // 三级文本色
    colorTextQuaternary: "rgba(255, 255, 255, 0.25)",   // 四级文本色

    // 描边
    colorBorder: "#424242",            // 边框色
    colorBorderSecondary: "#303030",   // 二级边框色

    // 填充
    colorFill: "rgba(255, 255, 255, 0.18)",             // 一级填充色
    colorFillSecondary: "rgba(255, 255, 255, 0.12)",    // 二级填充色
    colorFillTertiary: "rgba(255, 255, 255, 0.08)",     // 三级填充色
    colorFillQuaternary: "rgba(255, 255, 255, 0.04)",   // 四级填充色

    // 背景
    colorBgContainer: "#141414",    // 组件容器背景色
    colorBgElevated: "#1f1f1f",     // 浮层容器背景色
    colorBgLayout: "#000000",       // 布局背景色
    colorBgSpotlight: "#424242",
    colorBgMask: "rgba(0, 0, 0, 0.45)",

    // **************** 信息色 ****************
    colorInfoBg: "#111a2c",
    colorInfoBgHover: "#112545",
    colorInfoBorder: "#15325b",
    colorInfoBorderHover: "#15417e",
    colorInfoHover: "#15417e",
    colorInfo: "#1668dc",
    colorInfoActive: "#1554ad",
    colorInfoTextHover: "#3c89e8",
    colorInfoText: "#1668dc",
    colorInfoTextActive: "#1554ad",

    // **************** 错误色 ****************
    colorErrorBg: "#2c1618",
    colorErrorBgHover: "#451d1f",
    colorErrorBorder: "#5b2526",
    colorErrorBorderHover: "#7e2e2f",
    colorErrorHover: "#e86e6b",
    colorError: "#dc4446",
    colorErrorActive: "#ad393a",
    colorErrorTextHover: "#e86e6b",
    colorErrorText: "#dc4446",
    colorErrorTextActive: "#ad393a",

    // **************** 警戒色 ****************
    colorWarningBg: "#2b2111",
    colorWarningBgHover: "#443111",
    colorWarningBorder: "#594214",
    colorWarningBorderHover: "#7c5914",
    colorWarningHover: "#7c5914",
    colorWarning: "#d89614",
    colorWarningActive: "#aa7714",
    colorWarningTextHover: "#e8b339",
    colorWarningText: "#d89614",
    colorWarningTextActive: "#aa7714",

    // **************** 成功色 ****************
    colorSuccessBg: "#162312",
    colorSuccessBgHover: "#1d3712",
    colorSuccessBorder: "#274916",
    colorSuccessBorderHover: "#306317",
    colorSuccessHover: "#306317",
    colorSuccess: "#49aa19",
    colorSuccessActive: "#3c8618",
    colorSuccessTextHover: "#6abe39",
    colorSuccessText: "#49aa19",
    colorSuccessTextActive: "#3c8618",
};



